// 活动设置
import http from '@/utils/request'

const setApi = {
  // 查询活动配置
  getActivityConfig: params => {
    return http.get('platform/backstage/activity/config/getActivity', { params })
  },
  // 修改活动配置
  updatedActivityConfig: params => {
    return http.postJson('platform/backstage/activity/config/addOrEdit', params)
  }
}

export default setApi
